﻿# class CostFunction(object):
#     pass


def cost_function():
    pass


def get_cost_function(core_function):

    pass


def get_cross_entropy_cost_function(core_function):

    pass


def get_mse_cost_function(data, core_function):
    """
    core_function 现在是线性
    """
    theta, b = params
    c = core_function(z, theta, b)

    return cost_function